﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace DataLayer.Model.Objects
{
    [DataContract]
    [KnownType(typeof(Skill))]
    [KnownType(typeof(Command))]
    public abstract class Action
    {
        [DataMember]
        public String Name;

        [DataMember]
        public String Icon;

        [DataMember]
        public String Description;

        public abstract void DoAction();
        public abstract string FormSlachCommand();
    }
}
